home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / sendmail / uk-sendmail2.1 / Examples / localise.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1991-06-11  |  339 b   |  20 lines

  1. #!/bin/sh
  2. chmod u+w base.m4
  3. # if the aliases file lives in /etc rather than /usr/lib
  4. ed base.m4 <<'EOF'
  5. /^OA/s/usr.lib/etc/p
  6. w
  7. q
  8. EOF
  9. # if we wanted to change an existing option we could
  10. ed base.m4 <<'EOF'
  11. /^OX12$/s/12/80/p
  12. /^Ox8$/s/8/60/p
  13. w
  14. q
  15. EOF
  16. # if we wanted to undefine an m4 macro we could
  17. cat >> base.m4 <<'EOF'
  18. undefine(`gcos')
  19. EOF
  20.